package com.jemmyee.pizza.service;

import java.io.Serializable;
import java.util.List;

import org.hibernate.criterion.DetachedCriteria;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.jemmyee.pizza.dao.IPreExcerptDao;
import com.jemmyee.core.dao.Page;

@Service("preExcerptService")
public class PreExcerptServiceImpl<PreExecrpt> implements IPreExcerptService<PreExecrpt> {
	@Autowired
	private IPreExcerptDao preExecrptDao;
	public void delete(PreExecrpt entity) {
		// TODO Auto-generated method stub
		
	}

	public void deleteAll(List<PreExecrpt> list) {
		// TODO Auto-generated method stub
		
	}

	public void deleteById(Serializable id) {
		// TODO Auto-generated method stub
		
	}

	public List<PreExecrpt> findAll() {
		// TODO Auto-generated method stub
		return null;
	}

	public List<PreExecrpt> findByCriteria(DetachedCriteria criteria) {
		// TODO Auto-generated method stub
		return null;
	}

	public PreExecrpt findById(Serializable id) {
		// TODO Auto-generated method stub
		return null;
	}

	public List<PreExecrpt> findByProperty(String propertyName, Object value) {
		// TODO Auto-generated method stub
		return null;
	}

	public Page findPageByCriteria(DetachedCriteria detachedCriteria,
			int pageSize, int startIndex, String order) {
		// TODO Auto-generated method stub
		return preExecrptDao.findPageByCriteria(detachedCriteria, pageSize, startIndex, order);
	}

	public void save(PreExecrpt entity) {
		// TODO Auto-generated method stub
		
	}

	public void update(PreExecrpt entity) {
		// TODO Auto-generated method stub
		
	}

}
